<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<link href="css/apps/equipment/input.css" type="text/css" rel="stylesheet" />
<script src="scripts/apps/app.js" type="text/javascript"></script>
<script src="scripts/apps/equipment/input.js" type="text/javascript"></script>

<form id="beanform">
<input name="validating" type="hidden" value="true" />
<fieldset>
<legend>编辑/新加设备</legend>
<table class="table table-condensed">
<tbody>
  <tr><td>名称</td><td><input name="bean.name" /></td><td>生产厂家</td><td><input name="bean.manufacture" /></td></tr>
  <tr><td>型号</td><td><input name="bean.typicalness" /></td><td>出厂日期</td><td><input name="bean.outDate" class="Wdate"  onClick="WdatePicker()" readonly  /></td></tr>
  <tr><td>出厂编号</td><td><input name="bean.outNo" /></td><td>功率</td><td><input name="bean.power" /></td></tr>
  <tr><td>固定资产编号</td><td><input name="bean.assetsNo" /></td><td>卡号</td><td><input name="bean.cardNo" /></td></tr>
  <tr><td>价格</td><td><input name="bean.price" /></td><td>所属单位</td><td><select name="bean.owner.id" id="depts" ></select></td></tr>
  <tr><td>购置资金来源令号</td><td><input name="bean.fundsFrom" /></td><td>退库日期</td><td><input name="bean.outDepositoryDate" class="Wdate"  onClick="WdatePicker()" readonly /></td></tr>
  <tr><td>图片</td>
  <td>
      <button type="button" class="btn btn-warning" onclick="selectPicture('beanimagepath','viewpic');">选择图片</button>
      <input id="beanimagepath" name="bean.imagePath" type="hidden" />
      
  </td>
  
  <td colspan="2"><img id="viewpic"  width="100" height="100" /></td>
  </tr>
  
</tbody>

<tfoot>
  <tr>
    <td colspan="4">
       <button class="btn btn-info" type="button" id="saveBtn">保存</button>
       <button class="btn" type="reset">重置</button>
    </td>
  </tr>
</tfoot>
</table>

</fieldset>
</form>